<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>🐍 贪吃蛇 - Vue</title>
  <!-- 开发环境版本，包含了有帮助的命令行警告 -->
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <link rel="stylesheet" href="./snake-vue.css">
</head>
<body>
  <div id="game">
    <div id="display">
      <div class="row" v-for="r in 10" :key="r">
        <div class="cell" v-for="c in 10" :class="[cellClass(r-1,c-1)]" :key="c"></div>
      </div>
    </div>
    <div id="control"></div>
  </div>
  <script src="./snake-vue.js"></script>
</body>
</html>